import Vue from 'vue'
import App from './App'
import router from './router'

// const app = new Vue(App)
const app = new Vue({
  el: '#app',
  router,
  render: h => h(App)
})

export default function (context) {
  return new Promise((resolve, reject) => {
    resolve(app)
  })
}
